//
//  BaseResponse.swift
//  JTYP
//
//  Created by Groot on 2017/12/5.
//  Copyright © 2017年 inspur. All rights reserved.
//

import ObjectMapper

enum ECode: Int {
    case success = 200
    // 未认证
    case uncertified = 401
    case other = 999
}

class BaseResponse: Mappable {
    
    required init?(map: Map) {
    }
    
    func mapping(map: Map) {
        code <- map["code"]
        message <- map["message"]
    }
    
    
    var code: Int?
    var message: String?
}

